package com.stockz.equity.charting.painter.shape;

import java.awt.Graphics2D;
import java.awt.Rectangle;

import com.stockz.equity.charting.model.Shape;
import com.stockz.equity.charting.view.StockChart;

public interface ShapePainter<T extends Shape, V extends StockChart> {

	public void paint(Graphics2D g,T shape,V view, Rectangle rectangle);
	
	public boolean supports(Class<T> c);
}
